package com.sdy.kzyy.biz.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sdy.kzyy.biz.dto.SweepCodeStaffDTO;
import com.sdy.kzyy.biz.model.User;
import com.sdy.mvc.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zzq
 * @since 2020-03-03
 */
public interface UserMapper extends BaseMapper<User> {
    List<SweepCodeStaffDTO> getSweepPage(@Param("storeCode") String storeCode,@Param("name") String name, @Param("state") Integer state, Page<User> page);
    List<SweepCodeStaffDTO> getSweepPage(@Param("storeCode") String storeCode,@Param("name") String name,  @Param("state") Integer state);
    Integer getSweepSize(@Param("storeCode") String storeCode,@Param("name") String name, @Param("state") Integer state);
}
